/**
name: test bit operator
purpose: 
compiler: tcc/dev-cpp
summary:
refs:
http://wenku.baidu.com/view/a8497f4d2b160b4e767fcf12.html
**/

#include <stdio.h>
#include <stdlib.h>
int main(int argc,char *argv[]){
int i=1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i<<1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);
i=i>>1;
printf("%d\n",i);


system("PAUSE");
return 0;
}

